package com.peas.platform.module.icims.base.auth.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("角色")
public class RoleVo extends BaseVo {

    @ApiModelProperty(value = "角色类型")
    @Size(max = 20, message = "角色类型不能超过20个字符")
    private String roleType;

    @ApiModelProperty(value = "角色编码")
    @Size(max = 50, message = "角色编码不能超过50个字符")
    private String roleCode;

    @ApiModelProperty(value = "角色名称")
    @Size(max = 200, message = "角色名称不能超过200个字符")
    private String roleName;

    @ApiModelProperty(value = "状态")
    @Size(max = 20, message = "状态不能超过20个字符")
    private String state;

}
